package com.example.dhhyc.demos.strategy.strategy1;

/**
 * Describe :
 * question :
 *
 * @auther BaiShanshan
 * @date 2024/4/30 15:56
 */

public class IntermediateCustomerStrategy implements MyCustomerStrategy {
    @Override
    public Double calcPrice(Double originalPrice, int n) {
        return originalPrice * n * 0.9;
    }
}
